package com.tjmc.nsia.core.constant;

public class Constants {

    /**
     * 通用成功标识
     */
    public static final String SUCCESS = "0";

    /**
     * 通用失败标识
     */
    public static final String FAIL = "1";

    /**
     * 登录成功
     */
    public static final String LOGIN_SUCCESS = "Success";

    /**
     * 注销
     */
    public static final String LOGOUT = "Logout";

    /**
     * 注册
     */
    public static final String REGISTER = "Register";

    /**
     * 登录失败
     */
    public static final String LOGIN_FAIL = "Error";


    /**
     * 验证码有效期（分钟）
     */
    public static final int CAPTCHA_EXPIRATION = 2 * 60;

    /**
     * 令牌
     */
    public static final long TOKEN_EXPIRE_TIME = 21600 * 1000L;

    public static final int MEMORYCACHE_CAPACITY = 1024;

    /**
     * 验证码 redis key
     */
    public static final String CAPTCHA_CODE_KEY = "captcha_codes:";

    public static final String BIGMODEL_API_SECRET_KEY = "51bd9c8d168c22bcfbf690973273034c.bdE5mRqxkPnRVZID";

    public static final long BIGMODEL_SSE_SENDMESSAGE_INTERVAL = 0;

}
